function WebAppController(){
	
	this.view = {
		extend: "base",
		adhocControllers: ["entry-list", "subscriptions"]
	};
	
	this.handler = function(){
		
		var user = request.getAttr("user");
		
		this.get = function(){
			
			 request.setAttr("services", (user)
			 	? db.services.get({where: {guid: user.services}})
			 	: db.services.get());
				
		
		}
		
		this.post = function(){
			this.get();
		}
		
	}

}